﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/FrameMain.Master"
    AutoEventWireup="true" CodeBehind="SpecialRegister.aspx.cs" Inherits="FortuneHeaven.Admin.Pages.GameManager.SpecialRegister" %>

<%@ Register TagPrefix="uc1" TagName="Pagination" Src="~/Controls/Pagination.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="toolbar">
    </div>
    <div id="head">
        <div class="left">
            <asp:Label ID="lblDeptName" runat="server" Font-Bold="true"></asp:Label>
            <asp:Label ID="lblStatistic" runat="server"></asp:Label>
        </div>
        <div class="right">
            <asp:Label ID="lbGiftOrder" runat="server" Text="帐号: "></asp:Label>
            <asp:TextBox ID="txtOrderID" runat="server" CssClass="txt" Style="width: 113px;"></asp:TextBox>
            <asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="SearchValue" />
            <asp:Label ID="Label1" runat="server" Text="来自页面:"></asp:Label>
            <asp:DropDownList ID="drpFromPage" AutoPostBack="true" runat="server" OnSelectedIndexChanged="drpFromPage_SelectedIndexChanged">
                <asp:ListItem Text="全部" Value="全部"></asp:ListItem>
                <asp:ListItem Text="Index.aspx" Value="Index.aspx"></asp:ListItem>
                <asp:ListItem Text="Index1.aspx" Value="Index1.aspx"></asp:ListItem>
                <asp:ListItem Text="Index2.aspx" Value="Index2.aspx"></asp:ListItem>
                <asp:ListItem Text="Index3.aspx" Value="Index3.aspx"></asp:ListItem>
                <asp:ListItem Text="Index4.aspx" Value="Index4.aspx"></asp:ListItem>
                <asp:ListItem Text="Index5.aspx" Value="Index5.aspx"></asp:ListItem>
                <asp:ListItem Text="Index6.aspx" Value="Index6.aspx"></asp:ListItem>
                <asp:ListItem Text="Index7.aspx" Value="Index7.aspx"></asp:ListItem>
                <asp:ListItem Text="Index8.aspx" Value="Index8.aspx"></asp:ListItem>
                <asp:ListItem Text="Index9.aspx" Value="Index9.aspx"></asp:ListItem>
            </asp:DropDownList>
            <asp:Label ID="lblShow" runat="server" Text="显示:"></asp:Label>
            <asp:DropDownList ID="drpPagerSize" AutoPostBack="true" runat="server" OnSelectedIndexChanged="drpPagerSize_SelectedIndexChanged">
            </asp:DropDownList>
        </div>
    </div>
    <div id="list"><table id="lvList" cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <th class="sp">
                    &nbsp;
                </th>
                <th>
                    游戏ID
                </th>
                <th>
                    帐号
                </th>
                <th>
                    游戏时间
                </th>
                <% if (IsSp == 0){%>
                <%= "<th>充值金额 </th><th>净消耗</th>" %>
                <%} %>
                <% if (IsSp == 1){%>
                <%= "<th>充值金额</th>" %>
                <%} %>
                <% if (IsSp == 2){%>
                <%= "<th>净消耗 </th>"%>
                <%} %>
                <th>
                    推广积分
                </th>
                <th>
                    来自页面
                </th>
            </tr>
            <asp:Repeater ID="lvNews1" runat="server" >
                <ItemTemplate>
                    <tr>
                        <td class="sp">
                            &nbsp;
                        </td>
                        <td>
                            <%# Eval("GameID")%>
                        </td>
                        <td>
                            <%# Eval("UserName")%>
                        </td>
                        <td>
                            <%# FortuneHeavenCommon.ComMethod.UtilMethod.GetTimeByInt(Eval("OnLineTimeCount"))%>
                        </td>
                        <%# GetCorrectShow(Eval("RechargeValue"), Eval("GameUsedScore"))%>
                        <td>
                            <%# Eval("SpreadValue")%>
                        </td>
                        <td>
                            <%# Eval("FromPage")%>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
    <div id="foot">
        <div class="foot_left">
        </div>
        <div class="foot_right">
            <uc1:Pagination ID="usPager" runat="server" />
        </div>
    </div>
</asp:Content>
